package com.bobby.shop.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Description TODO
 * @Date 2020/12/30 15:55
 * @Created wenjunpei
 */
public class OrderDetailVO {
    private Integer orderId;
    private String orderCode;
    private String createDate;
    private String sendDate;
    private String status;
    private Double amount;
    private Integer userId;


    List<ArticleVO> articleVOList = new ArrayList<>();

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getSendDate() {
        return sendDate;
    }

    public void setSendDate(String sendDate) {
        this.sendDate = sendDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public List<ArticleVO> getArticleVOList() {
        return articleVOList;
    }

    public void setArticleVOList(List<ArticleVO> articleVOList) {
        this.articleVOList = articleVOList;
    }

    public OrderDetailVO(Integer orderId, String orderCode, String createDate, String sendDate, String status, Double amount, Integer userId,  List<ArticleVO> articleVOList) {
        this.orderId = orderId;
        this.orderCode = orderCode;
        this.createDate = createDate;
        this.sendDate = sendDate;
        this.status = status;
        this.amount = amount;
        this.userId = userId;
        this.articleVOList = articleVOList;
    }

    public OrderDetailVO() {
    }

    @Override
    public String toString() {
        return "OrderDetailVO{" +
                "orderId=" + orderId +
                ", orderCode='" + orderCode + '\'' +
                ", createDate='" + createDate + '\'' +
                ", sendDate='" + sendDate + '\'' +
                ", status='" + status + '\'' +
                ", amount=" + amount +
                ", userId=" + userId +
                ", articleVOList=" + articleVOList +
                '}';
    }
}
